package com.hk.card;

import javax.swing.ImageIcon;

public class TakenCardUserSplit extends TakenCardSuper{
	private static TakenCardUserSplit cardsofsplit;

	public static TakenCardUserSplit getCardsOfSplit() {
		if(cardsofsplit==null) {		cardsofsplit = new TakenCardUserSplit();		}
		return cardsofsplit;
	}
	@Override
	public void SetBounds() {
		super.cardList.get(CardCount++).SetBounds(200 + (CardCount * 50), 420, 100, 150);
	}
	public void SetCard(ImageIcon icon, int number) {
		cardList.get(0).SetCard(icon, number);
		SetBounds();
	}
}
